feat: implement multi version K8s build matrix and docker arguments (#27)#29
feat: implement multi version K8s build matrix and docker arguments (#27)#29danishdynamic wants to merge 2 commits into52North:mainfrom
Conversation
|
Please keep the pygeoapi-manager version in the tag, e.g. |
|
Furthermore, you should also consider the |
|
Hi @EHJ-52n I’ve updated the PR to address your feedback:
The CI matrix is now running correctly with these changes. Looking forward to your review! Addresses #27 |
Description:
This PR improves the build pipeline to support different kubernetes versions by introducing a build matrix and configuring both build time and run time versioning.
Key Changes:
Multi version support: Added a strategy.matrix to the github actions workflow to build images for k8s versions 1.33, 1.34, and 1.35 in parallel.
Dynamic tagging: Updated docker tags to include the k8s version (e.g., k8s-1.35), ensuring clear identification on docker hub.
Dockerfile configuration:
Added ARG K8S_VERSION to accept the version from the CI matrix.
Added ENV K8S_VERSION to make the cluster version available to the pygeoapi-k8s-manager at runtime.
Tooling: Integrated uv in the pipeline for faster, locked dependency management.